package main.flow;

import java.util.ArrayList;
import java.util.List;

public class Flow 
{
	private String id;
	private String name;
	public List<Data> values = new ArrayList<Data>(); 
	
	public void setId(String _id)
	{
		id = _id;
	}
	
	public void setName(String _name)
	{
		name = _name;
	}
	
	public String getId()
	{
		return id;
	}
	
	public String getName()
	{
		return name;
	}
	
	public void addValue(float time, int value)
	{
		Data data = new Data();
		data.time = time;
		data.value = value;
		values.add(data);
	}
}
